<html {$html_attrs}>
<head><title>Despesa Ano Uc</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px 0;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
</style>

{END style_block}
</head>
<body>
{BEGIN body}

{$header}
{BEGIN addForm}
<div id='errOutput' class="errOutput"></div>
<div class="zpFormContent">
<TABLE align="center" id="center_block{$id}" cellpadding=0 cellspacing=0><tr><td id="header_block{$id}">
{BEGIN flybody}

<div id="header_block{$id}">
<h1>Despesa Ano Uc, Novo Registro</h1>
</div>

{BEGIN message_block}
<div id="message_block{$id}" class="downedit">{$message}</div>
{END message_block}

<div align=left><hr width="100%" noshade size=1></div>

&nbsp;&nbsp;<a href="despesa_ano_uc_list.php?a=return"><img src="images/bt_voltar.gif" alt="Voltar" width="58" height="20" border="0"></a><br>
<br>

<table cellpadding=4 cellspacing=2 border=0 id="fields_block{$id}">
{BEGIN id_fonte_recursos_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN id_fonte_recursos_label}Fonte Recursos{END id_fonte_recursos_label}
 </td><td width=250>
   
    
        <div class="campo fundof">
            		  <div class="line">
					    {$id_fonte_recursos_editcontrol}
					  </div>		
									
			</div>
    
   </td></tr>
{END id_fonte_recursos_fieldblock}
{BEGIN id_despesa_anual_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN id_despesa_anual_label}Despesa Anual{END id_despesa_anual_label}
 </td><td width=250>
   
    
        <div class="campo fundof">
            		  <div class="line">
					    {$id_despesa_anual_editcontrol}
					  </div>		
									
			</div>
    
   </td></tr>
{END id_despesa_anual_fieldblock}
{BEGIN id_tipo_despesas_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN id_tipo_despesas_label}Tipo Despesas{END id_tipo_despesas_label}
 </td><td width=250>
   
    
        <div class="campo fundof">
            		  <div class="line">
					    {$id_tipo_despesas_editcontrol}
					  </div>		
									
			</div>
    
   </td></tr>
{END id_tipo_despesas_fieldblock}
{BEGIN id_regional_fieldblock}
  <tr><td class=shade  width=150>
  {BEGIN id_regional_label}Regional{END id_regional_label}
 </td><td width=250>
   
    
        <div class="campo fundof">
            		  <div class="line">
					    {$id_regional_editcontrol}
					  </div>		
									
			</div>
    
   </td></tr>
{END id_regional_fieldblock}
</table>

 <FIELDSET><LEGEND>Unidades de Conservação</LEGEND>
      <DIV id=outputDiv>Selecione uma Regional </DIV></FIELDSET> 

<div id="buttons_block{$id}">
	<br>
	&nbsp;&nbsp;&nbsp;{BEGIN legend}
	<div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - Preenchimento Obrigatório</div>
	{END legend}
	{$legendBreak}{BEGIN save_button}
    <input name="input" type="image" value="submit" src="images/bt_enviar.gif" >
    {END save_button}
    {BEGIN cancel_button}
    <input name="input" type="image" value="submit" src="images/bt_cancelar.gif" {$cancelbutton_attrs} >
    {END cancel_button}
</div>
{END flybody}
</td></tr>
</table>
</div>
{END addForm}
{BEGIN detail_tables}
{END detail_tables}
<br><br>
{$footer}
{END body}
<script src="templates_js/despesa_ano_uc_add.js" charset="iso-8859-1"></script>
<script>


new Zapatec.Form({
	form: 'editform1',
	showErrors: 'afterField',
	showErrorsOnSubmit: false,
	submitErrorFunc: testErrOutput,
	theme: "default"
});
</script>
<SCRIPT>
document.getElementById("value_id_regional_1").addEventListener("change", function(){xajax_processForm(xajax.getFormValues("editform1"))}, false);
</SCRIPT>
</body>
</html>

